package com.lee.demosharding.config;

import com.alibaba.druid.pool.DruidDataSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;

import javax.sql.DataSource;

/**
 * @Description TODO
 * @Author winston
 * @DateTime 2021/11/22
 */
@Configuration
public class DataSourceConfig {

//	@Bean
//	@Primary("spring.datasource.druid.goodsdb")
//	public DataSource defaultDataSource() {
//		return new DruidDataSource();
//	}

}
